package com.wn.bean;

public enum ResultEnumCode {
    SUCCESS(ResultCode.SUCCESS,"成功"),
    fail(ResultCode.ERROR,"失败");

    private final int code;
    private final String message;

    ResultEnumCode(int code,String message){
        this.code=code;
        this.message=message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
